<nav class="navbar">
	<div class="container-fluid">

		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed"
				data-toggle="collapse" data-target="#navbar" aria-expanded="false"
				aria-controls="navbar">
				<span class="sr-only">切换导航</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<#-- <img src="${ctxPath}/static/img/logo_cust.png"> -->
			<a class="navbar-brand" href="${ctxPath}/main">
			<strong>MEE</strong>
			</a>
		</div>

		<div id="navbar" class="navbar-collapse collapse">
			<ul id="navbar-menu" class="nav navbar-nav navbar">
				<!-- 主页 -->
				<li data-catalog="${ctxPath}/main" class="banner-01"><a href="${ctxPath}/main">主页</a></li>

				<!-- 主体业务模块 -->
				<@shiro.hasPermission name="02">
				<li data-catalog="${ctxPath}/service" class="banner-02"><a href="${ctxPath}/service">业务</a></li>
				</@shiro.hasPermission>

				<!-- 报表模块 -->
				<@shiro.hasPermission name="03">
					<li data-catalog="${ctxPath}/report" class="banner-03"><a href="${ctxPath}/report">报表</a></li>
				</@shiro.hasPermission>

				<!-- 基础数据模块 -->
				<!--
				<li data-catalog="/base"><a href="${ctxPath}/base">BASE DATA</a></li>
				-->
				<!-- 系统管理模块 -->
				<@shiro.hasPermission name="04">
				<li data-catalog="${ctxPath}/sys" class="banner-04"><a href="${ctxPath}/sys">系统</a></li>
				</@shiro.hasPermission>

		</ul>
			<ul id="userinfo" class="nav navbar-nav navbar-right">
				<#-- <li><p>${sessionScope.user.name}， 你好。</p></li> -->
				<li><p>你好
					<#if Session.user??>
						<#if Session.user.nick_name??>
							${Session.user.nick_name}
						<#else>
							<@shiro.principal.username/>
						</#if>
					<#else>
						<#-- <@shiro.principal/> -->
				        <@shiro.principal property="nick_name"/>
					</#if>
				</p></li>
				<li><a href="${ctxPath}/changePwd">修改密码</a></li>
				<li><a href="${ctxPath}/logout" class="btn-warning">EXIST</a></li>
			</ul>
		</div>

	</div>
</nav>
